/*
 * File: Auto_data.cpp
 *
 * Code generated for Simulink model 'Auto'.
 *
 * Model version                  : 1.259
 * Simulink Coder version         : 8.0 (R2011a) 09-Mar-2011
 * TLC version                    : 8.0 (Feb  3 2011)
 * C/C++ source code generated on : Tue Sep 20 20:17:44 2011
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Texas Instruments->C2000
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "Auto.h"
#include "Auto_private.h"

/* Block parameters (auto storage) */
Parameters_Auto Auto_P = {
  1000.0,                              /* Expression: 1000
                                        * Referenced by: '<S2>/LeftOutPWM'
                                        */
  1000.0,                              /* Expression: 1000
                                        * Referenced by: '<S2>/RightOutPWM'
                                        */
  1000.0,                              /* Expression: 1000
                                        * Referenced by: '<S2>/TailOutPWM'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S2>/TailAngle'
                                        */
  0.001,                               /* Expression: 1/1000
                                        * Referenced by: '<S2>/Gain'
                                        */
  -1.0,                                /* Expression: -1
                                        * Referenced by: '<S2>/Bias'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<S16>/JoyScale'
                                        */
  3.62811150744694,                    /* Expression: P
                                        * Referenced by: '<S18>/Proportional Gain'
                                        */
  0.0880202527123755,                  /* Expression: D
                                        * Referenced by: '<S18>/Derivative Gain'
                                        */
  0.02,                                /* Computed Parameter: Filter_gainval
                                        * Referenced by: '<S18>/Filter'
                                        */
  0.0,                                 /* Expression: InitialConditionForFilter
                                        * Referenced by: '<S18>/Filter'
                                        */
  3.90810648754653,                    /* Expression: N
                                        * Referenced by: '<S18>/Filter Coefficient'
                                        */
  5.0,                                 /* Expression: UpperSaturationLimit
                                        * Referenced by: '<S18>/Saturation'
                                        */
  -5.0,                                /* Expression: LowerSaturationLimit
                                        * Referenced by: '<S18>/Saturation'
                                        */
  0.0294,                              /* Expression: P
                                        * Referenced by: '<S19>/Proportional Gain'
                                        */
  0.02,                                /* Computed Parameter: Integrator_gainval
                                        * Referenced by: '<S19>/Integrator'
                                        */
  0.0,                                 /* Expression: InitialConditionForIntegrator
                                        * Referenced by: '<S19>/Integrator'
                                        */
  0.0092717,                           /* Expression: D
                                        * Referenced by: '<S19>/Derivative Gain'
                                        */
  0.02,                                /* Computed Parameter: Filter_gainval_f
                                        * Referenced by: '<S19>/Filter'
                                        */
  0.0,                                 /* Expression: InitialConditionForFilter
                                        * Referenced by: '<S19>/Filter'
                                        */
  92.285,                              /* Expression: N
                                        * Referenced by: '<S19>/Filter Coefficient'
                                        */
  0.2,                                 /* Expression: UpperSaturationLimit
                                        * Referenced by: '<S19>/Saturation'
                                        */
  -0.2,                                /* Expression: LowerSaturationLimit
                                        * Referenced by: '<S19>/Saturation'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<S6>/Saturation'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S6>/Saturation'
                                        */
  250.0,                               /* Expression: 250
                                        * Referenced by: '<S6>/Converter'
                                        */
  1100.0,                              /* Expression: 1100
                                        * Referenced by: '<S6>/Bias'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<S7>/Saturation'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S7>/Saturation'
                                        */
  250.0,                               /* Expression: 250
                                        * Referenced by: '<S7>/Converter'
                                        */
  1100.0,                              /* Expression: 1100
                                        * Referenced by: '<S7>/Bias'
                                        */
  0.25,                                /* Expression: 0.25
                                        * Referenced by: '<S9>/JoyScale'
                                        */
  2.1825744847144,                     /* Expression: P
                                        * Referenced by: '<S13>/Proportional Gain'
                                        */
  0.02,                                /* Computed Parameter: Integrator_gainval_p
                                        * Referenced by: '<S13>/Integrator'
                                        */
  0.0,                                 /* Expression: InitialConditionForIntegrator
                                        * Referenced by: '<S13>/Integrator'
                                        */
  -0.672403359827839,                  /* Expression: D
                                        * Referenced by: '<S13>/Derivative Gain'
                                        */
  0.02,                                /* Computed Parameter: Filter_gainval_fg
                                        * Referenced by: '<S13>/Filter'
                                        */
  0.0,                                 /* Expression: InitialConditionForFilter
                                        * Referenced by: '<S13>/Filter'
                                        */
  1.85535166905975,                    /* Expression: N
                                        * Referenced by: '<S13>/Filter Coefficient'
                                        */
  -0.257137654448536,                  /* Expression: P
                                        * Referenced by: '<S12>/Proportional Gain'
                                        */
  0.02,                                /* Computed Parameter: Integrator_gainval_i
                                        * Referenced by: '<S12>/Integrator'
                                        */
  0.0,                                 /* Expression: InitialConditionForIntegrator
                                        * Referenced by: '<S12>/Integrator'
                                        */
  -0.0472942755430724,                 /* Expression: D
                                        * Referenced by: '<S12>/Derivative Gain'
                                        */
  0.02,                                /* Computed Parameter: Filter_gainval_k
                                        * Referenced by: '<S12>/Filter'
                                        */
  0.0,                                 /* Expression: InitialConditionForFilter
                                        * Referenced by: '<S12>/Filter'
                                        */
  16.499690948881,                     /* Expression: N
                                        * Referenced by: '<S12>/Filter Coefficient'
                                        */
  1.0,                                 /* Expression: UpperSaturationLimit
                                        * Referenced by: '<S12>/Saturation'
                                        */
  0.0,                                 /* Expression: LowerSaturationLimit
                                        * Referenced by: '<S12>/Saturation'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<S8>/Saturation'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S8>/Saturation'
                                        */
  500.0,                               /* Expression: 500
                                        * Referenced by: '<S8>/Converter'
                                        */
  1100.0,                              /* Expression: 1100
                                        * Referenced by: '<S8>/Bias'
                                        */
  -1.0,                                /* Expression: I
                                        * Referenced by: '<S12>/Integral Gain'
                                        */
  0.0362829864596875,                  /* Expression: I
                                        * Referenced by: '<S13>/Integral Gain'
                                        */
  0.25,                                /* Expression: 0.25
                                        * Referenced by: '<S10>/JoyScale'
                                        */
  0.905981735104831,                   /* Expression: D
                                        * Referenced by: '<S14>/Derivative Gain'
                                        */
  0.02,                                /* Computed Parameter: Filter_gainval_c
                                        * Referenced by: '<S14>/Filter'
                                        */
  0.0,                                 /* Expression: InitialConditionForFilter
                                        * Referenced by: '<S14>/Filter'
                                        */
  13.0232826649524,                    /* Expression: N
                                        * Referenced by: '<S14>/Filter Coefficient'
                                        */
  -8.26614824379811,                   /* Expression: I
                                        * Referenced by: '<S14>/Integral Gain'
                                        */
  0.02,                                /* Computed Parameter: Integrator_gainval_j
                                        * Referenced by: '<S14>/Integrator'
                                        */
  0.0,                                 /* Expression: InitialConditionForIntegrator
                                        * Referenced by: '<S14>/Integrator'
                                        */
  -12.66199966056,                     /* Expression: P
                                        * Referenced by: '<S14>/Proportional Gain'
                                        */
  45.0,                                /* Expression: UpperSaturationLimit
                                        * Referenced by: '<S14>/Saturation'
                                        */
  -45.0,                               /* Expression: LowerSaturationLimit
                                        * Referenced by: '<S14>/Saturation'
                                        */
  0.0026135,                           /* Expression: I
                                        * Referenced by: '<S19>/Integral Gain'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<S4>/Bias'
                                        */
  1000.0,                              /* Expression: 1000
                                        * Referenced by: '<S4>/Gain'
                                        */
  0.5,                                 /* Expression: 0.5
                                        * Referenced by: '<S5>/Switch'
                                        */
  0.5                                  /* Expression: 0.5
                                        * Referenced by: '<S5>/Switch1'
                                        */
};

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
